package com.bct.jxc.server.impl;

import java.util.List;

import com.bct.jxc.dao.SalebackDao;
import com.bct.jxc.model.Saleback;
import com.bct.jxc.model.SalebackInfo;
import com.bct.jxc.server.SalebackServer;

public class SalebackServerImpl implements SalebackServer{

	SalebackDao salebackDao = new SalebackDao();
	@Override
	public boolean add(Saleback t) {
		return salebackDao.add(t);
	}

	@Override
	public String getId() {
		return salebackDao.getId();
	}

	@Override
	public List<SalebackInfo> findAll(SalebackInfo sInfo) {
		return salebackDao.findAll(sInfo);
	}

}
